import { UserInfo } from '@/moduleC/types/user'

export interface UserState {
  userInfo: UserInfo | null
}

export const state: UserState = {
  userInfo: null
}

export const mutations = {
  SET_USER_INFO(state: UserState, userInfo: UserInfo) {
    state.userInfo = userInfo
  }
}

export const actions = {
  // Add actions if needed
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
} 